package com.soo.hoo.core.model;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * keyValue
 * </p>
 *
 * @author 杨燚
 * @since 2022-04-27
 */
@Data
@Builder
@NoArgsConstructor
public class KeyValue implements Serializable {

    private static final long serialVersionUID = 1458207286774556748L;
    /**
     * 键
     */
    private Object key;

    /**
     * 值
     */
    private Object value;

    public KeyValue(Object key, Object value) {
        this.key = key;
        this.value = value;
    }
}
